#include "instructions.h"
#include "ui_instructions.h"

Instructions::Instructions(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::Instructions)
{
    ui->setupUi(this);
    this->setFixedSize(800,600);

    this->ui->background->setGeometry(0,0,800,600);
    QPixmap *bkground = new QPixmap("Images\\Instructions.png");
    this->ui->background->setPixmap(*bkground);
    this->ui->background->show();
}

Instructions::~Instructions()
{
    delete ui;
}

void Instructions::on_doneBtn_clicked()
{
    dynamic_cast<MainMenu*>(this->parent())->show();
    this->deleteLater();
}
